// cWindowing.h: interface for the cWindowing class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_CWINDOWING_H__CF6579D9_8015_4777_BDBC_22B431EABA2A__INCLUDED_)
#define AFX_CWINDOWING_H__CF6579D9_8015_4777_BDBC_22B431EABA2A__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "cTransformar.h"


class cWindowing :public cTransformar  // hereda metodos de cTransformar 
{
private:
	double tt[N][N];
    double p0[N],p1[N];
	int i,j;
    double wl,wr,wt,wb,vl,vr,vt,vb;
public:
	cWindowing();
	virtual ~cWindowing();
	void puntos_ventana_mundo(double l, double r, double t, double b);
	void puntos_viewport(double l, double r, double t, double b);
    void transformar_vista(double x, double y, double *xt, double *yt);

};

#endif // !defined(AFX_CWINDOWING_H__CF6579D9_8015_4777_BDBC_22B431EABA2A__INCLUDED_)
